import React from "react";
import {connect} from "react-redux";
import * as action from "../action";
import  {Counter} from '../components';
const mapStateToProps=(state)=>{ 
    console.log(state)
    console.log(state);
        return{...state.counter} 
};
export default connect(mapStateToProps,action)(Counter)